package com.feiyisys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户收藏活动记录表
 * </p>
 *
 * @author wq
 * @since 2025-10-10
 */
@Getter
@Setter
@TableName("favorite_activity")
public class FavoriteActivity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 收藏记录ID，主键自增
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户ID，关联user表
     */
    private Long userId;

    /**
     * 活动ID，关联activity表
     */
    private Long activityId;

    /**
     * 收藏时间
     */
    private Date createTime;
}
